﻿<%@ Page Title="Порачка на модел" Language="C#" MasterPageFile="~/MasterStrana.Master" AutoEventWireup="true" CodeBehind="Poracka.aspx.cs" Inherits="WebApplication1.Poracka" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <div id="porackaModel">
        <asp:Label ID="lblModel" runat="server"></asp:Label> <br />
        <asp:Image ID="imgModel" Width="400" Height="300" runat="server" />
    </div>

    <div id="informaciiKorisnik">
        <table>
            <tr>
                <td colspan="3" align="left">Внесете ги Вашите податоци </td>
            </tr>
            <tr>
                <td>Име: </td>
                <td>
                    <asp:TextBox ID="txtIme" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td> &nbsp; &nbsp; </td>
            </tr>
            <tr>
                <td>Презиме: </td>
                <td>
                    <asp:TextBox ID="txtPrezime" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td> &nbsp; &nbsp; </td>
            </tr>
            <tr>
                <td>Телефон: </td>
                <td>
                    <asp:TextBox ID="txtTelefon" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td> &nbsp; &nbsp; </td>
            </tr>
            <tr>
                <td>Адреса: </td>
                <td>
                    <asp:TextBox ID="txtAdresa" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td> &nbsp; &nbsp; </td>
            </tr>
            <tr>
                <td>E-mail: </td>
                <td>
                    <asp:TextBox ID="txtMail" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td> 
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ErrorMessage="#" ControlToValidate="txtMail" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator> 
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                        ErrorMessage="Внесете валидна e-mail адреса" Display="None" 
                        ControlToValidate="txtMail" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator> 
                </td>
            </tr>
            <tr>
                <td colspan="3" align="center" height="45" valign="bottom">
                    <b><asp:LinkButton ID="GenerirajDogovor" runat="server" ToolTip="Генерирај договор со Вашите податоци и избраниот модел"
                        onclick="GenerirajDogovor_Click">Генерирај Договор</asp:LinkButton></b>
                </td>
            </tr>
            <tr height="45">
                <td colspan="3" align="center">
                <span class="porakaGreska">
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                        DisplayMode="SingleParagraph" />
                </span>
                </td>
            </tr>
        </table>
    </div>

</asp:Content>
